import { createApp } from "vue";
import { setupStore } from "./store";
import router, { setupRouter } from "./router"; 
import App from "./App.vue";
import { setupAntd } from "./libs/antd";
import echarts from "./libs/echarts";
import 'ant-design-vue/dist/antd.css';

const app = createApp(App);

app.config.globalProperties.$echarts = echarts;

setupRouter(app);
setupStore(app); 
setupAntd(app);

router.isReady().then(() => {
  app.mount("#app");
});
